From b1b25e670ce12cdd6844db08d08e2e358d374543 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Tue, 28 May 2024 06:42:46 +0900 Subject: Collected all extra modules, (except camellia) into waybar/modules for easy management. Same adjusted copy.sh to take effect all clock modules if 12H chosen by user --- config/waybar/configs/[BOT] Chrysanthemum | 85 +++++-------------------------- 1 file changed, 14 insertions(+), 71 deletions(-) (limited to 'config/waybar/configs/[BOT] Chrysanthemum') diff --git a/config/waybar/configs/[BOT] Chrysanthemum b/config/waybar/configs/[BOT] Chrysanthemum index e4f1fba8..c4359522 100644 --- a/config/waybar/configs/[BOT] Chrysanthemum +++ b/config/waybar/configs/[BOT] Chrysanthemum @@ -10,84 +10,27 @@ //"mode": "dock", "exclusive": true, "passthrough": false, -"position": "bottom", +"position": "bottom +", "spacing": 5, "fixed-center": true, "ipc": true, "margin-left": 5, "margin-right": 5, +"margin-top": 0, -"modules-left": ["clock#gar", "mpris", "custom/swaync", "tray"], +"modules-left": [ + "clock#5", + "mpris", + "tray", + "custom/swaync" + ], "modules-center": ["hyprland/workspaces"], -"modules-right": ["pulseaudio#gar","backlight#gar", "battery#gar"], - -// M O D U L E S // -"clock#gar": { - //"format": "{:%A, %I:%M %P}", - "format": "{:%a %d | %H:%M}", - "format-alt": "{:%A, %d %B, %Y (%R)}" -}, - -"hyprland/window#gar": { - "format": "{}", - "max-length": 60 -}, - -"tray#gar": { - "icon-size": 15, - "spacing": 10 -}, - -"pulseaudio#gar": { - "format": "{icon} {volume}%", - "format-bluetooth": "{icon} {volume}%", - "format-bluetooth-muted": " {icon}", - "format-muted": "󰸈", - "format-icons": { - "headphone": "", - "hands-free": "", - "headset": "", - "phone": "", - "portable": "", - "car": "", - "default": ["", "", ""] - }, - "on-click": "pamixer --toggle-mute", - "on-click-right": "pavucontrol", - "tooltip": false -}, - -"backlight#gar": { - //"device": "intel_backlight", - "format": "{icon} {percent}%", - "format-icons": ["", ""] -}, - -"battery#gar": { - "interval": 60, - "align": 0, - "rotate": 0, - //"bat": "BAT1", - //"adapter": "ACAD", - "full-at": 100, - "design-capacity": false, - "states": { - "good": 95, - "warning": 30, - "critical": 15 - }, - "format": "{icon} {capacity}%", - "format-charging": " {capacity}%", - "format-plugged": "󱘖 {capacity}%", - "format-full": "{icon} Full", - "format-alt": "{icon} {time}", - "format-icons": ["", "", "", "", ""], - "format-time": "{H}h {M}min", - "tooltip": true, - "tooltip-format": "{timeTo} {power}w", - "on-click-middle": "~/.config/hypr/scripts/ChangeBlur.sh", - "on-click-right": "~/.config/hypr/scripts/Wlogout.sh", -}, +"modules-right": [ + "pulseaudio#1", + "backlight#2", + "battery"], + } \ No newline at end of file -- cgit v1.2.3 From 03d5dafaa4fcd64bc5eef5272ebfc13a26cc1fbe Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 3 Jun 2024 05:00:01 +0900 Subject: some waybar tweaks --- config/waybar/configs/[BOT] Chrysanthemum | 3 +-- config/waybar/modules | 45 +++++++++++++++---------------- 2 files changed, 23 insertions(+), 25 deletions(-) (limited to 'config/waybar/configs/[BOT] Chrysanthemum') diff --git a/config/waybar/configs/[BOT] Chrysanthemum b/config/waybar/configs/[BOT] Chrysanthemum index c4359522..7aaad0d5 100644 --- a/config/waybar/configs/[BOT] Chrysanthemum +++ b/config/waybar/configs/[BOT] Chrysanthemum @@ -10,8 +10,7 @@ //"mode": "dock", "exclusive": true, "passthrough": false, -"position": "bottom -", +"position": "bottom", "spacing": 5, "fixed-center": true, "ipc": true, diff --git a/config/waybar/modules b/config/waybar/modules index 6fe06268..2dc4163c 100644 --- a/config/waybar/modules +++ b/config/waybar/modules @@ -515,7 +515,7 @@ "format-icons": { "headphone": "", "hands-free": "", - "headset": "", + "headset": "", "phone": "", "portable": "", "car": "", @@ -540,8 +540,8 @@ "format-bluetooth-muted": " {icon}", "format-muted": "󰸈", "format-icons": { - "headphone": "", - "hands-free": "", + "headphone": "", + "hands-free": "", "headset": "", "phone": "", "portable": "", @@ -549,8 +549,9 @@ "default": ["", "", ""] }, "on-click": "pamixer --toggle-mute", - "on-click-right": "pavucontrol", - "tooltip": false + "on-click-right": "pavucontrol -t 3", + "tooltip": true, + "tooltip-format": "{icon} {desc} | {volume}%", }, "pulseaudio#microphone": { "format": "{format_source}", @@ -609,19 +610,17 @@ }, "custom/cycle_wall": { "format": " ", - "exec": "echo ; echo 󰸉 wallpaper select", "on-click": "~/.config/hypr/UserScripts/WallpaperSelect.sh", "on-click-right": "~/.config/hypr/UserScripts/WallpaperRandom.sh", "on-click-middle": "~/.config/hypr/scripts/WaybarStyles.sh", - "interval": 86400, // once every day "tooltip": true, + "tooltip-format": "Left Click: Wallpaper Menu\nMiddle Click: Random wallpaper\nRight Click: Waybar Styles Menu", }, "custom/hint": { "format": "󰺁 HINT!", - "exec": "echo ; echo  Key Hints SUPER H", "on-click": "~/.config/hypr/scripts/KeyHints.sh", - "interval": 86400, // once every day "tooltip": true, + "tooltip-format": "󱧣 Quick Tips", }, "custom/keyboard": { "exec": "cat ~/.cache/kb_layout", @@ -630,29 +629,27 @@ "on-click": "~/.config/hypr/scripts/SwitchKeyboardLayout.sh", }, "custom/light_dark": { - "format": "󰔎{}", - "exec": "echo ; echo 󰔎 Dark-Light switcher", + "format": "󰔎", "on-click": "~/.config/hypr/scripts/DarkLight.sh", "on-click-right": "~/.config/hypr/scripts/WaybarStyles.sh", "on-click-middle": "~/.config/hypr/UserScripts/WallpaperSelect.sh", - "interval": 86400, // once every day - "tooltip": true + "tooltip": true, + "tooltip-format": "Left Click: Switch Dark-Light Themes\nMiddle Click: Wallpaper Menu\nRight Click: Waybar Styles Menu", }, "custom/lock": { - "format": "󰌾{}", - "exec": "echo ; echo 󰷛 screen lock", - "interval": 86400, // once every day - "tooltip": true, + "format": "󰌾", "on-click": "~/.config/hypr/scripts/LockScreen.sh", + "tooltip": true, + "tooltip-format": "󰷛 Screen Lock", + }, "custom/menu": { - "format": "{}", - "exec": "echo ; echo 󱓟 app launcher", - "interval": 86400, // once every day - "tooltip": true, + "format": "", "on-click": "pkill rofi || rofi -show drun -modi run,drun,filebrowser,window", "on-click-middle": "~/.config/hypr/UserScripts/WallpaperSelect.sh", "on-click-right": "~/.config/hypr/scripts/WaybarLayout.sh", + "tooltip": true, + "tooltip-format": "Left Click: Rofi Menu\nMiddle Click: Wallpaper Menu\nRight Click: Waybar Layout Menu", }, // This is a custom cava visualizer "custom/cava_mviz": { @@ -674,14 +671,14 @@ }, "custom/power": { "format": "⏻ ", - "exec": "echo ; echo 󰟡 power // blur", "on-click": "~/.config/hypr/scripts/Wlogout.sh", "on-click-right": "~/.config/hypr/scripts/ChangeBlur.sh", - "interval": 86400, // once every day "tooltip": true, + "tooltip-format": "Left Click: Logout Menu\nRight Click: Change Blur", }, "custom/swaync": { "tooltip": true, + "tooltip-format": "Left Click: Launch Notification Center\nRight Click: Do not Disturb", "format": "{icon} {}", "format-icons": { "notification": "", @@ -707,6 +704,8 @@ "exec-if": "[[ $(checkupdates | wc -l) ]]", "interval": 15, "on-click": "kitty -T update paru -Syu || yay -Syu && notify-send 'The system has been updated'", + "tooltip": true, + "tooltip-format": "Left Click: Update System\nArch Linux Only", }, "custom/weather": { "format": "{}", -- cgit v1.2.3